#!/bin/sh

[ -z "$1" ] && echo "no file supplied" && exit 1

groff -m www -e "$1" -ms -Tpdf > "$(echo "$1" | sed -e "s/\.ms/.pdf/")"